import Vue from "vue";
import Router from "vue-router";
// import Comming from "@/components/Comming";
// import Index from "@/components/index";
// import RanKing from "@/components/ranking";
// import content from "@/components/content";
// import actress from "@/components/actress";
// import news from "@/components/news";
// import search from "@/components/search";
import MoiveSoon from "@/components/MoiveSoon";
import content from "@/components/content";
import actress from "@/components/actress";
import news from "@/components/news";
Vue.use(Router);

export default new Router({
  routes: [
    {
      path: "/",
      redirect: "/in_theaters"
    },
    {
      path: "/in_theaters",
      component: MoiveSoon
    },
    {
      path: "/coming_soon",
      component: MoiveSoon
    },
    {
      path: "/top250",
      component: MoiveSoon
    },
    {
      path: "/search",
      component: MoiveSoon
    },
    {
      path: "/content:id",
      component: content
    },
    {
      path: "/actress:id",
      component: actress
    },
    {
      path: "/news:id",
      component: news
    }
  ]
});
